import {RouteObject} from "react-router-dom";
import {HomePage} from "@pages/home";
import {Layout} from "@widgets/layout";
import {PATH} from "@shared/const/paths";

export const routes: RouteObject = {
    path: PATH.HOME,
    children: [
        {
            path: PATH.HOME,
            Component: Layout,
            children: [
                {
                    path: PATH.HOME,
                    Component: HomePage
                },
                {
                    path: PATH.ARTICLES,
                    Component: HomePage
                },
                {
                    path: PATH.BOOKS,
                    Component: HomePage
                },
                {
                    path: PATH.EVENTS,
                    Component: HomePage
                },
                {
                    path: PATH.AUTHORS,
                    Component: HomePage
                },
            ]
        }
    ]
}